
import instance from "@/utils/request";


export const getVisitInfo = (params) => {
    return instance({
      method: "get",
      url: "/Village/getVisitInfo",
      params
    });
  };

export const updateVisitInfo = (data) => {
  return instance({
    method: "put",
    url: "/Village/updateVisitInfo",
    data,
  });
};
export const addVisitInfo = (data) => {
  return instance({
    method: "post",
    url: "/Village/addVisitInfo",
    data,
  });
};
export const deleteVisitInfo = (data) => {
  return instance({
    method: "delete",
    url: `/Village/deleteVisitInfo/${data}`,
  });
};
